import Vue from 'vue'
import Router from 'vue-router'

Vue.use(Router)

export default new Router({
	routes: [
		{
			path: '/',
			name: 'home',
			component: () => import('../views/home.vue')
		},
		{
			path: '/login',
			name: 'login',
			component: () => import('../views/login.vue')
		},
		{
			path: '/home',
			name: 'home',
			component: () => import('../views/home.vue')
		},
		{
			path: '/list',
			name: 'list',
			component: () => import('../views/list.vue')
		},
		{
			path: '/modifyPwd',
			name: 'modifyPwd',
			component: () => import('../views/modifyPwd.vue')
		},
		{
			path: '/modifyName',
			name: 'modifyName',
			component: () => import('../views/modifyName.vue')
		},
		{
			path: '/logout',
			name: 'logout',
			component: () => import('../views/logout.vue')
		},
	]
})
